
// import VueRouter from "vue-router";
import { createRouter, createWebHashHistory } from "vue-router";
import Home from "@/pages/Home.vue";
import previewIframe from "@/pages/previewIframe.vue";
import formDesigner from "@/pages/formDesigner.vue";


// Vue.use(VueRouter);

const routes = [
  {
    path: "/home",
    name: "Home",
    component: Home,
  },
  {
    path: "/previewiframe",
    name: "previewIframe",
    component: previewIframe,
  },
  {
    path: "/formDesigner",
    name: "formDesigner",
    component: formDesigner,
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
